package com.rongc.client.freight.business.waybill.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.base.request.result.NullResult;


/*
*  修改运单状态接口
* */

public class WaybillStatusApi extends AbsRequest<WaybillStatusApi.WaybillStatusParams, NullResult> {

    public WaybillStatusApi(WaybillStatusParams feedbackParams, Listener<NullResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getModifyWaybillUrl(), feedbackParams, listener, errorListener, NullResult.class);
    }

    public static class WaybillStatusParams extends BaseParams {

        public WaybillStatusParams(String userId,String id,String state) {
            put("userId",userId);
            put("id",id);
            put("state",state);
        }
    }


}
